//
//  CustomerViewController.m
//  Renyiting
//
//  Created by timmy on 16/9/13.
//  Copyright © 2016年 timmy. All rights reserved.
//

#import "CustomerViewController.h"

@implementation CustomerViewController

- (void)viewDidLoad {

    [super viewDidLoad];
    
    [self setNavigation];
}


- (void)setNavigation {
    
    UIImage *image = [UIImage imageNamed:BACK_IMAGE];
    image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
    UIBarButtonItem *leftItem = [[UIBarButtonItem alloc] initWithImage:image style:UIBarButtonItemStylePlain target:self action:@selector(back:)];
    self.navigationItem.leftBarButtonItem = leftItem;
    
}

- (void)back:(UIBarButtonItem *)sender {

    [self.navigationController popViewControllerAnimated:YES];

}


@end
